﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using wsInfoSeguro.Dominio;

namespace WSInfoSeguro
{
    [ServiceContract]
    public interface IInformacionSeguro
    {
        [OperationContract]
        [WebInvoke(Method = "GET", UriTemplate = "Asegurados/{dni}", ResponseFormat = WebMessageFormat.Json)]
        InformacionSeguro obtenerInformacionSeguro(string dni);
    }


}
